package com.tryedhp.jetpackdemo.activity

import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import com.tryedhp.jetpackdemo.R

class MainActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)
    }

    fun startLifeCyclerActivity(view: View) {
        startActivity(Intent(this, LifeCyclerActivity::class.java))
    }
    fun ViewModeActivity(view: View){
        startActivity(Intent(this, ViewModeActivity::class.java))
    }
}
